package com.af.system.exception;

/**
 * @author : zhenyun.su
 * @comment : 收集常用错误代码, 用于扩展ResultEnum
 * 来源： 3-webmvc/1-restful
 * @since : 2020/1/22
 */

@Deprecated
public enum AfErrorEnum {
    /**
     * @comment : 定义结果值集 (编码, 信息)
     */
    EXCEL(-61, "excel error"),
    WECHAT(-62, "wechat api error");

    private Integer code;
    private String msg;

    AfErrorEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}